#ifndef SERVICE_SHARED_MSG_LOGIN
#define SERVICE_SHARED_MSG_LOGIN

#include <game_share/game_def.h>
#include <nel/net/unified_network.h>

namespace MSG_STR {

	struct CFrontEnd
	{
		CFrontEnd() {}

		NLNET::TServiceId	SId;		// Service Id of the frontend on the remote shard
		DEF::PLAYER_COUNT   MaxPlayers;
		DEF::PLAYER_COUNT   CurrPlayers;
		std::string         Ip;
		uint32              Port;

		void serial( NLMISC::IStream& s )
		{
			s.serial( SId );
			s.serial( MaxPlayers );
			s.serial( CurrPlayers );
			s.serial( Ip );
			s.serial( Port );
		}
	};

}

#endif
